package org.jsola.hr.dao;

import org.apache.ibatis.annotations.Param;
import org.jsola.hr.entity.PolicyCourierDO;
import org.jsola.hr.query.PolicyCourierQuery;
import org.jsola.hr.vo.PolicyCourierListVO;
import org.jsola.orm.mapper.IJsolaMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 政策速递
 *
 * @author zhr
 */
@Repository("hrPolicyCourierDAO")
public interface IPolicyCourierDAO extends IJsolaMapper<PolicyCourierDO> {


    /**
     * 查询政策速递
     *
     * @param query  查询参数
     * @param siteId 站点
     * @return 政策速递
     */
    List<PolicyCourierListVO> selectPolicyCourier(@Param(value = "policyCourierQuery") PolicyCourierQuery query,
                                                  @Param(value = "siteId") String siteId);
}

